<template>
  <div>
    <van-row>
      <user-head></user-head>
    </van-row>
    <van-divider />
    <van-row>
      <my-task></my-task>
    </van-row>
  </div>
</template>
<script>
  import Head from '@/views/user/head';
  import mytask from '@/views/user/mytask';
  import {
    Divider
  } from 'vant';
  import {
    Col,
    Row
  } from 'vant';
  export default {
    name: "User",
    components: {
      'user-head': Head,
      'van-row': Row,
      'van-col': Col,
      'van-divider': Divider,
      'my-task': mytask
    },
    data() {
      return {

      }
    },
    mounted() {
      //显示底部栏
      this.$store.commit('updateShowFoot', true)
      this.$eventBus.publish('connectionSocket');
      //更改页面底部的状态
      this.$store.commit('updatetTabberActive', 'user')
    }
  }

</script>
